package project.simulador;

import project.robot.navigation.NavigationSystem;

public class NavegacionSimulada extends NavigationSystem {
	
	public boolean goForward(int distancia, int velocidad){
		try {
			Thread.sleep(100000/velocidad);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		return true;
	};
	
	public boolean AvanzarD(int distancia, int velocidad){
		try {
			Thread.sleep(100000/velocidad);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		return true;
	};
		
	public boolean AvanzarI(int distancia, int velocidad){
		try {
			Thread.sleep(100000/velocidad);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		return true;
	};
	
	public boolean turn(int angulo)
	{
		try {
			Thread.sleep(1000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		return true;
	}

	@Override
	public double getTraveledDistance() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public float getAngleRotated() {
		// TODO Auto-generated method stub
		return 0;
	};
}
